package com.example.avmanagerweb.mapper;

import com.example.avmanagerweb.entity.SysDepartment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xg
 * @since 2023-06-25
 */
public interface SysDepartmentMapper extends BaseMapper<SysDepartment> {
    List<SysDepartment> getsysdep(@Param("pid") int pid);
    List<SysDepartment> getsysdep2(@Param("id") int id);
    List<SysDepartment> getsysdep3(@Param("pid") int pid, @Param("id") int id);
    List<SysDepartment> getSubquery(@Param("id") int id);
}
